package com.sunjob.loginserver.service;

import com.sunjob.common.domain.loginServer.SysDept;
import com.sunjob.loginserver.mapper.SysDeptMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Wangzurong
 * @create 2022-08-07 17:42
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    SysDeptMapper deptMapper;
    @Override
    public SysDept queryDeptByUserId(Long userId) {
        return deptMapper.queryDeptByUserId(userId);
    }
}
